package com.ruoyi.project.system.house.house.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 房源信息对象 house
 * 
 * @author f_baisi
 * @date 2020-08-27
 */
public class House extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 用户主键ID */
    private String memberId;

    /** 名称 */
    @Excel(name = "名称",sort = 3)
    private String name;

    /** 装修主键ID */
    private String renovationId;

    /** 类型主键ID */
    private String typeId;

    /** 朝向主键ID */
    private String orientationId;

    /** 年代 */
    private String years;

    /** 地址 */
    private String address;

    /** 描述 */
    private String notes;

    /** 售价 */
    @Excel(name = "售价",sort = 4)
    private BigDecimal price;

    /** 单价 */
    @Excel(name = "单价",sort = 5)
    private BigDecimal priceOne;

    /** 户型-室 */
    @Excel(name = "户型-室",sort = 6)
    private Integer houseRoom;

    /** 户型-厅 */
    @Excel(name = "户型-厅",sort = 7)
    private Integer houseLivingRoom;

    /** 户型-卫 */
    @Excel(name = "户型-卫",sort = 8)
    private Integer houseToilet;

    /** 面积 */
    @Excel(name = "面积",sort = 9)
    private Integer area;

    /** 楼层 */
    @Excel(name = "楼层",sort = 10)
    private Integer floor;

    /** 总楼层 */
    @Excel(name = "总楼层",sort = 11)
    private Integer floorMax;

    /** 标签 */
    private String tag;

    /** 状态 */
    private Integer status;

    /** 独家房源 */
    @Excel(name = "独家房源 0 不是1 是",sort = 12)
    private Integer sole;

    /** 类型 */
    @Excel(name = "类型 0 房源1 楼盘",sort = 13)
    private Integer type;
    /** 排序 */
    private Integer sort;
    /** 是否推荐 */
    private Integer isRecommend;
    /** 拒绝原因 **/
    private String reason;
    /** 文件夹名称 **/
    private String file;
	/** 店铺经度 */
	private double lng;

	/** 店铺纬度 */
	private double lat;

	/** 拒绝原因 **/
	private String traffic;

    //状态数组
    private Integer[] stat;

    //更新时间
    private Date created;

    //删除标记 0 正常 1 删除
    private Integer deltag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRenovationId(String renovationId) 
    {
        this.renovationId = renovationId;
    }

    public String getRenovationId() 
    {
        return renovationId;
    }
    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }
    public void setOrientationId(String orientationId) 
    {
        this.orientationId = orientationId;
    }

    public String getOrientationId() 
    {
        return orientationId;
    }
    public void setYears(String years) 
    {
        this.years = years;
    }

    public String getYears() 
    {
        return years;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPriceOne(BigDecimal priceOne) 
    {
        this.priceOne = priceOne;
    }

    public BigDecimal getPriceOne() 
    {
        return priceOne;
    }
    public void setHouseRoom(Integer houseRoom) 
    {
        this.houseRoom = houseRoom;
    }

    public Integer getHouseRoom() 
    {
        return houseRoom;
    }
    public void setHouseLivingRoom(Integer houseLivingRoom) 
    {
        this.houseLivingRoom = houseLivingRoom;
    }

    public Integer getHouseLivingRoom() 
    {
        return houseLivingRoom;
    }
    public void setHouseToilet(Integer houseToilet) 
    {
        this.houseToilet = houseToilet;
    }

    public Integer getHouseToilet() 
    {
        return houseToilet;
    }
    public void setArea(Integer area) 
    {
        this.area = area;
    }

    public Integer getArea() 
    {
        return area;
    }
    public void setFloor(Integer floor) 
    {
        this.floor = floor;
    }

    public Integer getFloor() 
    {
        return floor;
    }
    public void setFloorMax(Integer floorMax) 
    {
        this.floorMax = floorMax;
    }

    public Integer getFloorMax() 
    {
        return floorMax;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSole(Integer sole) 
    {
        this.sole = sole;
    }

    public Integer getSole() 
    {
        return sole;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer[] getStat() {
        return stat;
    }

    public void setStat(Integer[] stat) {
        this.stat = stat;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

	public double getLng() {
		return lng;
	}

	public void setLng(double lng) {
		this.lng = lng;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public String getTraffic() {
		return traffic;
	}

	public void setTraffic(String traffic) {
		this.traffic = traffic;
	}

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getDeltag() {
        return deltag;
    }

    public void setDeltag(Integer deltag) {
        this.deltag = deltag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("name", getName())
            .append("renovationId", getRenovationId())
            .append("typeId", getTypeId())
            .append("orientationId", getOrientationId())
            .append("years", getYears())
            .append("address", getAddress())
            .append("notes", getNotes())
            .append("price", getPrice())
            .append("priceOne", getPriceOne())
            .append("houseRoom", getHouseRoom())
            .append("houseLivingRoom", getHouseLivingRoom())
            .append("houseToilet", getHouseToilet())
            .append("area", getArea())
            .append("floor", getFloor())
            .append("floorMax", getFloorMax())
            .append("tag", getTag())
            .append("status", getStatus())
            .append("sole", getSole())
            .append("type", getType())
            .toString();
    }
}
